package homework2;

public class Bmw extends Car implements Gps{
    public Bmw(String brand, int price) {
        super(brand, price);
    }

    @Override
    public void gps() {
        System.out.println("新增功能:GPS定位");
    }
    public void show(){
        System.out.println("品牌:"+getBrand()+",价格:"+getPrice());
    }
}
